home *** CD-ROM | disk | FTP | other *** search
/ SGI MIPSpro Fortran-90 7.2 / SGI MIPSpro Fortran-90 7.2.iso / dist / ftn90_fe.idb / usr / relnotes / ftn90_fe / ch6.z / ch6
Text File  |  1997-09-05  |  7KB  |  330 lines

  1.  
  2.  
  3.  
  4.                                                - 1 -
  5.  
  6.  
  7.  
  8.                     7.2 MIPSpro Fortran 90 Front End Release Notes
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.                                                - 2 -
  69.  
  70.  
  71.  
  72.                     6.  _K_n_o_w_n__B_u_g_s
  73.  
  74.                     This chapter briefly describes the major bugs
  75.                     that are known to exist in this release.  Some
  76.                     of the headings are followed by a Silicon
  77.                     Graphics incident report number.
  78.  
  79.                        +o Patch 2016 requirement.
  80.                          While not a bug, this is a reminder that
  81.                          you must install ftn_eoe_sw and
  82.                          ftn_eoe_sw64 (for 64-bit development) from
  83.                          patchSG0002016. If you don't you will see
  84.                          the following message when compiling and
  85.                          linking:
  86.  
  87.                          %f90 test.f
  88.                          ld32: FATAL 9: I/O error (-lfortran): No such file or directory
  89.  
  90.                          Installation of the above mentioned
  91.                          subsystems from patchSG002016 will
  92.                          eliminate the problem
  93.  
  94.  
  95.                        +o Code that contains internal procedures may
  96.                          not be optimized correctly when the -IPA or
  97.                          -INLINE flags are used. Under certain
  98.                          circumstances, internal compiler errors may
  99.                          be generated (Bug 511830).
  100.  
  101.                        +o The compiler produces incorrect code in the
  102.                          case where an OPTIONAL dummy argument is
  103.                          used as an optional argument to an
  104.                          intrinsic fuction, and the corresponding
  105.                          actual argument is not present. This bug
  106.                          manifests itself as a segmentation fault at
  107.                          run-time (Bug 707608).
  108.                          The example below illustrates the bug:
  109.  
  110.  
  111.                          program bug707608
  112.                            character*10::ch = 'abcdeabcde'
  113.                            call printindex(ch,'c',.false.)  ! Works correctly
  114.                            call printindex(ch,'c')          ! Run-time segmentation fault
  115.                          contains
  116.                            subroutine printindex(ch,c,back)
  117.                              character*(*) ch,c
  118.                              logical,optional::back
  119.                              print *,index(ch,c,back)
  120.                            end subroutine
  121.                          end
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.                                                - 3 -
  135.  
  136.  
  137.  
  138.                        +o When the CSIN intrinsic function is used as
  139.                          a dummy argument, and the -r8 or -default64
  140.                          switch is specified, the compiler generates
  141.                          an incorrect library entry point. At link
  142.                          time, the symbol x_sin_ will be undefined
  143.                          (Bug 707605).
  144.                          The simplest workaround is to add the
  145.                          following code somewhere in the executable:
  146.  
  147.  
  148.                                  complex(8) function z_sin(z)
  149.                                  real(8) z(2), r, i
  150.                                  r = sin(z(1)) * cosh(z(2))
  151.                                  i = cos(z(1)) * sinh(z(2))
  152.                                  z_sin = cmplx(r, i, 8)
  153.                                  return
  154.                                  end
  155.  
  156.  
  157.  
  158.                        +o  The Workshop debugger (cvd) and dbx will
  159.                          not display assumed shape arrays or
  160.                          pointers of kind(1) or kind(2) and integer
  161.                          or logical type.  The stride between
  162.                          elements is computed incorrectly. In
  163.                          general it is recommended that dbx be used
  164.                          to debug Fortran 90 programs.
  165.  
  166.  
  167.                        +o The compiler incorrectly emits debugging
  168.                          information for the PROGRAM statement. For
  169.                          example:
  170.  
  171.                          PROGRAM TEST
  172.                                  print *,'hi'
  173.                          END
  174.  
  175.                          One cannot set a breakpoint in TEST. Set a
  176.                          breakpoint in MAIN__ instead.
  177.  
  178.  
  179.                     6.1  _K_n_o_w_n__P_r_o_b_l_e_m_s__(_L_i_c_e_n_s_i_n_g_)
  180.  
  181.                        +o The MIPSpro F90 compiler will abort if the
  182.                          license file directory (/var/flexlm)
  183.                          contains a cycle formed by symbolic links.
  184.                          For example:
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.                                                - 4 -
  201.  
  202.  
  203.  
  204.                          %ls -l /var/flexlm
  205.                          lrwxr-xr-x    1 root   sys       1 Mar 13  1996 license -> .
  206.                          -rw-r--r--    1 root   sys    1162 Aug 20 17:09 license.dat
  207.  
  208.                          %f90 foo.f
  209.                          Bus error (core dumped)
  210.  
  211.                          The solution is to remove the symbolic link
  212.                          that forms the cycle.
  213.  
  214.                        +o Cryptic warning message from licensing.
  215.  
  216.                          The first line of a warning message that
  217.                          occurs when a license file exists under
  218.                          /var/flexlm but does not contain the
  219.                          compiler license can be misleading. For
  220.                          completeness the following example
  221.                          illustrates the entire output when a
  222.                          license file exists, but a license is not
  223.                          installed:
  224.  
  225.  
  226.  
  227.  
  228.  
  229.  
  230.  
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.  
  250.  
  251.  
  252.  
  253.  
  254.  
  255.  
  256.  
  257.  
  258.  
  259.  
  260.  
  261.  
  262.  
  263.  
  264.  
  265.  
  266.                                                - 5 -
  267.  
  268.  
  269.  
  270.                          %f90 foo.f
  271.                          No such feature exists (-5,116)
  272.  
  273.                           The MIPSpro Fortran 90 Compiler
  274.                           (license FEATURE string = f90)
  275.                           requires a license password.
  276.  
  277.                           For license installation and trouble shooting
  278.                           information visit the web page:
  279.  
  280.                                   http://www.sgi.com/Support/Licensing/install_docs.html
  281.  
  282.                           To obtain a Permanent license (proof of purchase
  283.                           required) or an Evaluation license please
  284.                           visit our license request web page:
  285.  
  286.                                   http://www.sgi.com/Products/license.html
  287.  
  288.                                   or send a blank email message to:
  289.  
  290.                                   license@sgi.com
  291.  
  292.                           In North America, Silicon Graphics' customers may request
  293.                           Permanent licenses by sending a facsimile to:
  294.  
  295.                                   (650) 932-0537
  296.  
  297.                                   or by calling our technical support hotline
  298.  
  299.                                   1-800-800-4SGI
  300.  
  301.                           If you are Outside of North America or you are not a Silicon
  302.                           Graphics support customer then contact your local support provider.
  303.  
  304.  
  305.  
  306.  
  307.  
  308.  
  309.  
  310.  
  311.  
  312.  
  313.  
  314.  
  315.  
  316.  
  317.  
  318.  
  319.  
  320.  
  321.  
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328.  
  329.